[gd_scene load_steps=3 format=3 uid="uid://mtk2syxw0xc8"]

[ext_resource type="Script" path="res://scenes/ui/menu/next_level_or_back_in_menu_ui.gd" id="1_4cxlx"]

[sub_resource type="Gradient" id="Gradient_rt0nn"]
offsets = PackedFloat32Array(0, 0.306667, 1)
colors = PackedColorArray(0.934788, 0.867832, 0.138373, 1, 0, 0.813116, 0, 1, 0.76966, 0.485545, 0.924021, 1)

[node name="next_level_or_back_in_menu_UI" type="Control"]
texture_filter = 1
layout_mode = 3
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
script = ExtResource("1_4cxlx")

[node name="HBoxContainer" type="HBoxContainer" parent="."]
layout_mode = 1
anchors_preset = 8
anchor_left = 0.5
anchor_top = 0.5
anchor_right = 0.5
anchor_bottom = 0.5
offset_left = -103.0
offset_top = -33.0
offset_right = 499.0
offset_bottom = 58.0
grow_horizontal = 2
grow_vertical = 2
scale = Vector2(0.3, 0.3)
theme_override_constants/separation = 1
alignment = 1

[node name="MENU" type="Button" parent="HBoxContainer"]
layout_mode = 2
text = "Back in menu"

[node name="Settings" type="Button" parent="HBoxContainer"]
layout_mode = 2
text = "Settings"

[node name="Next level" type="Button" parent="HBoxContainer"]
layout_mode = 2
text = "Next level"

[node name="GrayRect" type="ColorRect" parent="."]
layout_mode = 1
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
color = Color(1, 1, 1, 0.117647)

[node name="CPUParticles2D" type="CPUParticles2D" parent="."]
position = Vector2(564, 237)
emitting = false
amount = 50
lifetime = 8.0
one_shot = true
speed_scale = 2.0
randomness = 1.0
lifetime_randomness = 0.25
fract_delta = false
direction = Vector2(0, 1)
gravity = Vector2(0, 300)
initial_velocity_min = 90.91
initial_velocity_max = 90.91
angle_min = -43.6
angle_max = 167.3
scale_amount_max = 12.0
color_ramp = SubResource("Gradient_rt0nn")

[connection signal="pressed" from="HBoxContainer/MENU" to="." method="_on_menu_pressed"]
[connection signal="pressed" from="HBoxContainer/Settings" to="." method="_on_settings_pressed"]
[connection signal="pressed" from="HBoxContainer/Next level" to="." method="_on_next_level_pressed"]
